]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
13 years agoLogin: sensitivity fixes
Stéphane Démurget [Sun, 18 Nov 2012 21:36:17 +0000 (22:36 +0100)]
Login: sensitivity fixes

The login dialog had these issues:
  - the entry was not really disabled, you could still edit text
  - the sensitivity state was not reset on verification failure
  - the session list was not disabled

The unlock dialog had these issues:
  - "Login as another user..." was not insensitive
  - redundant password char setting, overwriting the one given by the
    question

The entry insensitive style was also wrong.

https://bugzilla.gnome.org/show_bug.cgi?id=687113

13 years agomodalDialog: do not launch disabled button actions
Stéphane Démurget [Sun, 18 Nov 2012 20:29:46 +0000 (21:29 +0100)]
modalDialog: do not launch disabled button actions

The "Sign In" button of the login dialog has its look disabled when the
entry is empty, but it can still be triggered by the Enter key.

This fixes the modal dialog so it does not trigger the action of an
insensitive button, and also means we do not need to connect to the
"activate" signal of the entry anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=687113

13 years agomodalDialog: give more control over the layout
Stéphane Démurget [Thu, 1 Nov 2012 16:07:48 +0000 (17:07 +0100)]
modalDialog: give more control over the layout

Make the button layout public for callers to be able to have more
control over like adding custom widgets. Also, the clearButtons and
addButton methods are added as convenience for the most frequent usage.

https://bugzilla.gnome.org/show_bug.cgi?id=687113

13 years agoMessageTray: fix popping up after there were modals
Giovanni Campagna [Tue, 20 Nov 2012 18:53:22 +0000 (19:53 +0100)]
MessageTray: fix popping up after there were modals

Open a modal dialog, try to open the message tray -> no effect, the message
tray is blocked by the dialog.
Close the dialog, try to open the message tray by pointer -> still
no effect, because the old timeout id was not cleared the first time,
so the dwell callback thinks the tray is about to open.

https://bugzilla.gnome.org/show_bug.cgi?id=688750

13 years agoWorkspace: Highlight window clone and caption when hovered
Giovanni Campagna [Sat, 27 Oct 2012 16:18:54 +0000 (18:18 +0200)]
Workspace: Highlight window clone and caption when hovered

Windows in the overview should be highlighted when hovered, to indicate
they are an active target.

Based on a patch by Marc Plano-Lesay <marc.planolesay@gmail.com>

https://bugzilla.gnome.org/show_bug.cgi?id=665310

13 years agoLayout: show the OSK on the monitor where the focused window lives
Giovanni Campagna [Sun, 14 Oct 2012 16:57:45 +0000 (18:57 +0200)]
Layout: show the OSK on the monitor where the focused window lives

In multimonitor scenarios, it makes sense to show the OSK close to
the window that will actually receive keystrokes.

https://bugzilla.gnome.org/show_bug.cgi?id=685856

13 years agonetworkAgent: ensure auto-register is set when the component is enabled
Aleksander Morgado [Thu, 15 Nov 2012 21:47:32 +0000 (22:47 +0100)]
networkAgent: ensure auto-register is set when the component is enabled

Setting auto-register to true launches the initial registration, and will
afterwards re-launch the agent registration if NetworkManager gets restarted.

When the component is disabled we'll first disable auto-registration, and only
then request to unregister.

https://bugzilla.gnome.org/show_bug.cgi?id=688379

13 years agoctrl-alt-tab: use better icons
Stéphane Démurget [Tue, 20 Nov 2012 10:51:56 +0000 (11:51 +0100)]
ctrl-alt-tab: use better icons

The top panel and message tray icons were by default a gnome foot and
are replaced by better ones. The applications icon is now using the
symbolic apps icon of the dash, and the windows icon is also improved.

https://bugzilla.gnome.org/show_bug.cgi?id=641303

13 years agoAdd 'No Messages' label when message tray is empty
Victoria Martínez de la Cruz [Tue, 13 Nov 2012 01:44:01 +0000 (22:44 -0300)]
Add 'No Messages' label when message tray is empty

To avoid confusion in new users, a 'No Messages' label is shown when messages
tray is empty.

https://bugzilla.gnome.org/show_bug.cgi?id=686738

13 years agoFixed some errors in Russian translation
Yuri Myasoedov [Tue, 20 Nov 2012 07:47:45 +0000 (11:47 +0400)]
Fixed some errors in Russian translation

13 years agomessageTray: don't accidentally shift the tray around in the overview
Sebastian Keller [Sun, 18 Nov 2012 01:01:00 +0000 (02:01 +0100)]
messageTray: don't accidentally shift the tray around in the overview

https://bugzilla.gnome.org/show_bug.cgi?id=688422

13 years agoBump version to 3.7.2
Florian Müllner [Mon, 19 Nov 2012 22:43:04 +0000 (23:43 +0100)]
Bump version to 3.7.2

Update NEWS

13 years agobuild: Actually remove shell-screen-grabber.[ch]
Florian Müllner [Mon, 19 Nov 2012 22:48:28 +0000 (23:48 +0100)]
build: Actually remove shell-screen-grabber.[ch]

Commit 7f8bfcc939 removed the code, but not the actual files,
breaking make distcheck.

13 years agomessageTray: restore toggle tray in normal mode (non overview)
Alban Browaeys [Sat, 17 Nov 2012 03:49:13 +0000 (04:49 +0100)]
messageTray: restore toggle tray in normal mode (non overview)

https://bugzilla.gnome.org/show_bug.cgi?id=688507

13 years agocalendar-server: Remove useless g_type_init
Adel Gadllah [Mon, 19 Nov 2012 23:02:02 +0000 (00:02 +0100)]
calendar-server: Remove useless g_type_init

13 years agoScreenShield: unbreak blurring the background
Giovanni Campagna [Wed, 7 Nov 2012 18:04:12 +0000 (19:04 +0100)]
ScreenShield: unbreak blurring the background

It was missing a uniform, so it had no effect besides desaturation.

https://bugzilla.gnome.org/show_bug.cgi?id=682536

13 years agobluetooth: add translation hints
Stéphane Démurget [Mon, 19 Nov 2012 16:49:57 +0000 (17:49 +0100)]
bluetooth: add translation hints

A couple of translations were hard to translate.

https://bugzilla.gnome.org/show_bug.cgi?id=638351

13 years agoMessageTray: restore opacity when expanding a notification
Giovanni Campagna [Mon, 19 Nov 2012 17:59:39 +0000 (18:59 +0100)]
MessageTray: restore opacity when expanding a notification

MessageTray tweens both opacity and y to hide or show _notificationWidget,
but only y when expanding it. This means that an existing tween to hide
the notification will continue running, clearing the notification state.
If the hiding one completes before the showing one, the onComplete handler
will throw an exception (because the notification was nullified) and
therefore break the state tracking.

https://bugzilla.gnome.org/show_bug.cgi?id=683986

13 years agoshell-recorder-src: Set frame duration
Adel Gadllah [Mon, 19 Nov 2012 17:50:39 +0000 (18:50 +0100)]
shell-recorder-src: Set frame duration

We where not setting a duration for the frames, which caused the resulting videos to
have a broken header.

Fix that by making the source a live source and setting the correct frame duration.

https://bugzilla.gnome.org/show_bug.cgi?id=688487

13 years agotest-recoder: Use webm file extension
Adel Gadllah [Sat, 17 Nov 2012 11:39:37 +0000 (12:39 +0100)]
test-recoder: Use webm file extension

This matches our default pipeline.

https://bugzilla.gnome.org/show_bug.cgi?id=688487

13 years agorecorder: Show icon and indicator on the primary monitor
Adel Gadllah [Fri, 16 Nov 2012 16:04:19 +0000 (17:04 +0100)]
recorder: Show icon and indicator on the primary monitor

https://bugzilla.gnome.org/show_bug.cgi?id=688470

13 years agobuild: require gsettings-desktop-schemas 3.7.2
Cosimo Cecchi [Mon, 19 Nov 2012 17:01:13 +0000 (12:01 -0500)]
build: require gsettings-desktop-schemas 3.7.2

For shell search provider settings schema.

13 years agoview-selector: add support for disable-external search setting
Cosimo Cecchi [Thu, 1 Nov 2012 20:18:12 +0000 (16:18 -0400)]
view-selector: add support for disable-external search setting

https://bugzilla.gnome.org/show_bug.cgi?id=687491

13 years agoremote-search: apply sort-order from GSettings
Cosimo Cecchi [Thu, 1 Nov 2012 19:57:18 +0000 (15:57 -0400)]
remote-search: apply sort-order from GSettings

Sort providers according to the GSettings state, and make sure to reload
them as soon as the sort order changes.

https://bugzilla.gnome.org/show_bug.cgi?id=687491

13 years agoremote-search: restructure remote search provider loading process
Cosimo Cecchi [Thu, 1 Nov 2012 19:55:41 +0000 (15:55 -0400)]
remote-search: restructure remote search provider loading process

Instead of adding search providers to the system as we find them, wait
until we loaded information from all the directories, and then add all
providers at once.
This will be useful when we will sort the providers information
according to the sort order saved in GSettings.

https://bugzilla.gnome.org/show_bug.cgi?id=687491

13 years agoview-selector: filter out disabled search providers
Cosimo Cecchi [Thu, 1 Nov 2012 14:33:40 +0000 (10:33 -0400)]
view-selector: filter out disabled search providers

If the added search provider has an appId in the list of the disabled
search providers settings, ignore it.

https://bugzilla.gnome.org/show_bug.cgi?id=687491

13 years agosearch: add API to get a list of remote providers
Cosimo Cecchi [Tue, 6 Nov 2012 23:42:33 +0000 (18:42 -0500)]
search: add API to get a list of remote providers

This will be used to reload them in case the configuration changes.

https://bugzilla.gnome.org/show_bug.cgi?id=687491

13 years agosearch: propagate GAppInfo to SearchProvider
Cosimo Cecchi [Thu, 1 Nov 2012 14:33:22 +0000 (10:33 -0400)]
search: propagate GAppInfo to SearchProvider

Save the GAppInfo in the provider object; this will be used when
filtering.

https://bugzilla.gnome.org/show_bug.cgi?id=687491

13 years ago[l10n] Updated Estonian translation
Mattias Põldaru [Mon, 19 Nov 2012 14:41:52 +0000 (16:41 +0200)]
[l10n] Updated Estonian translation

13 years agoLogin dialog - tweak the user name text shadow
Allan Day [Sat, 17 Nov 2012 23:06:48 +0000 (23:06 +0000)]
Login dialog - tweak the user name text shadow

The shadow under the user name should suggest that the light source
is directly above.

https://bugzilla.gnome.org/show_bug.cgi?id=688557

13 years agopanel: programmatic anim. control of AnimatedIcon
Stéphane Démurget [Mon, 5 Nov 2012 22:11:27 +0000 (23:11 +0100)]
panel: programmatic anim. control of AnimatedIcon

The AnimatedIcon does not have an API for controlling the animation but
relies on the :visible property changes to start and stop a timeout used
to update the frame.

This has the inconvenient of having a side effect when visible is set to
true multiple times, and is not really the API expected from such
component. Also, there is a race if it is displayed before the images
are loaded: there is no child yet and thus we get this._frame = NaN
which leads to a crash.

Switch to a play/stop API instead, and add a load event callback to the
TextureCache.load_slice_image to exactly know when we can start using
the images.

https://bugzilla.gnome.org/show_bug.cgi?id=687583

13 years agoviewSelector: Make toggle-application-view binding available in overview
Florian Müllner [Thu, 16 Aug 2012 12:46:23 +0000 (14:46 +0200)]
viewSelector: Make toggle-application-view binding available in overview

https://bugzilla.gnome.org/show_bug.cgi?id=688202

13 years agorecorder: Make toggle-recorder action available in the overview
Florian Müllner [Fri, 10 Aug 2012 00:39:43 +0000 (02:39 +0200)]
recorder: Make toggle-recorder action available in the overview

There's not really a good reason to not allow starting a recording
in the overview ...

https://bugzilla.gnome.org/show_bug.cgi?id=688202

13 years agomessageTray: Make toggle-message-tray available when up
Florian Müllner [Mon, 20 Aug 2012 20:16:21 +0000 (22:16 +0200)]
messageTray: Make toggle-message-tray available when up

It makes so much sense that the setting even has 'toggle' in its name.

https://bugzilla.gnome.org/show_bug.cgi?id=688202

13 years agoAdd screenshield and unlock dialog to ctrl-alt-tab
Florian Müllner [Sat, 11 Aug 2012 03:53:59 +0000 (05:53 +0200)]
Add screenshield and unlock dialog to ctrl-alt-tab

As we now allow the ctrl-alt-tab popup on the lock screen, it should
be possible to navigate back from the top bar, so add the corresponding
elements to the switcher.

https://bugzilla.gnome.org/show_bug.cgi?id=688202

13 years agowindowManager: Replace sessionMode.allowKeybindingsWhenModal
Florian Müllner [Mon, 20 Aug 2012 14:20:23 +0000 (16:20 +0200)]
windowManager: Replace sessionMode.allowKeybindingsWhenModal

The original condition the property was based on was added to make
the a11y switcher available in the login screen, though it did never
work properly - after popping up the switcher, additional tab key
presses were ignored. As we are now able to filter bindings much more
selectively, we can simplify the check and drop the sessionMode property.

https://bugzilla.gnome.org/show_bug.cgi?id=688202

13 years agowindowManager: Use generic filter mechanism for all keybindings
Florian Müllner [Sat, 11 Aug 2012 04:34:53 +0000 (06:34 +0200)]
windowManager: Use generic filter mechanism for all keybindings

With the new flexible system in place, there's no point explicitly
hardcoding some built-in keybindings; just use the generic mechanism
for everything.

https://bugzilla.gnome.org/show_bug.cgi?id=688202

13 years agowindowManager: Add a generic mechanism for filtering keybindings
Florian Müllner [Sat, 11 Aug 2012 00:53:38 +0000 (02:53 +0200)]
windowManager: Add a generic mechanism for filtering keybindings

Currently we hardcode the set of keybindings that are available in the
overview; add a generic mechanism to specify in which KeybindingModes
a keybinding should be available.

https://bugzilla.gnome.org/show_bug.cgi?id=688202

13 years agomain: Add optional keybindingMode parameter to pushModal()
Florian Müllner [Fri, 10 Aug 2012 18:35:59 +0000 (20:35 +0200)]
main: Add optional keybindingMode parameter to pushModal()

For now we just use it to assign an identifier to modal modes in
which we want to allow some keybindings, but we don't use it for
any actual filtering; we'll start doing this shortly.

https://bugzilla.gnome.org/show_bug.cgi?id=688202

13 years agograbHelper: Support optional parameters to pushModal()
Florian Müllner [Mon, 20 Aug 2012 20:05:00 +0000 (22:05 +0200)]
grabHelper: Support optional parameters to pushModal()

https://bugzilla.gnome.org/show_bug.cgi?id=688202

13 years agomain: Use Params for optional parameters to pushModal()
Florian Müllner [Fri, 10 Aug 2012 15:54:39 +0000 (17:54 +0200)]
main: Use Params for optional parameters to pushModal()

As the number of optional parameters grows, it gets more convenient
to use Params instead of passing in a lot of undefined/null/0 values.

https://bugzilla.gnome.org/show_bug.cgi?id=688202

13 years agowindowManager: Implement keybinding_filter hook
Florian Müllner [Mon, 20 Aug 2012 08:38:13 +0000 (10:38 +0200)]
windowManager: Implement keybinding_filter hook

We are currently using a hack to allow a select set of keybindings
in the overview. Implement the new MetaPlugin keybinding_filter
hook, which provides a cleaner way to achieve the same.

https://bugzilla.gnome.org/show_bug.cgi?id=688202

13 years agoNetworkMenu: rework multiple NIC support
Giovanni Campagna [Wed, 29 Aug 2012 17:42:11 +0000 (19:42 +0200)]
NetworkMenu: rework multiple NIC support

Remove section titles for ethernet and mobile broadband, and replace
them with device status items that recognize if multiple devices are
installed in the same section, and if so automatically disambiguate.

https://bugzilla.gnome.org/show_bug.cgi?id=677142

13 years agost-theme-node-drawing: Group multiple cogl_rectangle calls
Adel Gadllah [Fri, 16 Nov 2012 16:17:49 +0000 (17:17 +0100)]
st-theme-node-drawing: Group multiple cogl_rectangle calls

Calling cogl_rectangles is more efficent then using multiple cogl_rectangle calls.

https://bugzilla.gnome.org/show_bug.cgi?id=688475

13 years agorecorder: Remove dead code
Adel Gadllah [Fri, 16 Nov 2012 17:45:19 +0000 (18:45 +0100)]
recorder: Remove dead code

This calls are nops (already called a few lines above) so just remove them.

13 years agoUpdated Galician translations
Fran Diéguez [Fri, 16 Nov 2012 17:44:18 +0000 (18:44 +0100)]
Updated Galician translations

13 years agoStThemeNode: add a trivial-case short cut to all comparisons for equality
Simon McVittie [Thu, 15 Nov 2012 15:16:12 +0000 (15:16 +0000)]
StThemeNode: add a trivial-case short cut to all comparisons for equality

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687465
Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
13 years agost_widget_recompute_style: short-circuit if the theme node is the same
Simon McVittie [Thu, 15 Nov 2012 15:09:51 +0000 (15:09 +0000)]
st_widget_recompute_style: short-circuit if the theme node is the same

It appears to be somewhat common for st_widget_style_changed() to be
called when no style-relevant attributes have, in fact, changed. Now that
we cache theme nodes, we're likely to get the same theme node back from
the cache. If we do, we don't need to waste time asking whether its
geometry and painting are equal to itself: we can just note that nothing
really changed and get on with our lives.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687465
Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
13 years agost_theme_node_copy_cached_paint_state: allow self-assignment
Simon McVittie [Thu, 15 Nov 2012 15:07:33 +0000 (15:07 +0000)]
st_theme_node_copy_cached_paint_state: allow self-assignment

If you copy a theme node's paint state into itself, it should be an
inexpensive no-op. What actually happened was that we destroyed the
old paint state, re-initialized to blank, then copied the blank state
back into itself. In the process, we lost (for instance) the textures
for rounded corners.

Until I introduced the texture cache, this never actually happened,
because when st_widget_recompute_style() calls st_widget_get_theme_node(),
we'd always get a fresh theme node. Now, we get a theme node T back
from the cache, notice that paint_equal(T, T) is true, short-circuit
slightly by copying its drawing state into itself, and destroy drawing
state that we still needed.

I'm going to fix this in recompute_style() too, but as a general
principle, self-assignment ought to be harmless.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687465
Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
13 years agoKeep similar theme nodes so we don't have to recompute CSS so often
Simon McVittie [Thu, 8 Nov 2012 17:50:01 +0000 (17:50 +0000)]
Keep similar theme nodes so we don't have to recompute CSS so often

Because we calculate and cache CSS properties once per StThemeNode,
and only a certain set of attributes can affect the CSS properties,
it's advantageous for as many widgets as possible to share a single
StThemeNode. Similarly, if a widget changes state and then changes back
(e.g. gaining and losing the :hover pseudo-class), it should ideally
get its original StThemeNode back again when it returns to the old
state.

Here, I'm using the StThemeContext as the location for a cache.
StThemeNodes are currently never freed: this seems OK for Shell's usage
(a finite number of IDs, classes, pseudo-classes and types).

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687465
Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
13 years agoRemove unsplit element classes and pseudo-classes
Simon McVittie [Wed, 7 Nov 2012 18:45:47 +0000 (18:45 +0000)]
Remove unsplit element classes and pseudo-classes

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687465
Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
13 years agost_theme_node_equal: use split (pseudo-)classes
Simon McVittie [Wed, 7 Nov 2012 18:52:20 +0000 (18:52 +0000)]
st_theme_node_equal: use split (pseudo-)classes

This is a prerequisite for getting rid of the unsplit versions.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687465
Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
13 years agoUse pre-split element classes and pseudo-classes to optimize matching
Simon McVittie [Thu, 8 Nov 2012 15:41:31 +0000 (15:41 +0000)]
Use pre-split element classes and pseudo-classes to optimize matching

In my testing this cuts the longest time to dispatch(), when showing the
calendar menu for the first time, from 604 to 442 milliseconds,
while reducing additional_selector_matches_style() from 32% to 13% of
CPU time used.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687465
Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
13 years agoStore CSS classes and pseudo-classes pre-split in the StThemeNode
Simon McVittie [Wed, 7 Nov 2012 18:44:33 +0000 (18:44 +0000)]
Store CSS classes and pseudo-classes pre-split in the StThemeNode

Tokenizing every time we want to evaluate CSS seems a poor plan.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687465
Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
13 years agoa11y: also set the WM HighContrast theme when switch is flipped
Cosimo Cecchi [Tue, 13 Nov 2012 14:34:20 +0000 (09:34 -0500)]
a11y: also set the WM HighContrast theme when switch is flipped

Now that we have a HighContrast-specific WM theme.

https://bugzilla.gnome.org/show_bug.cgi?id=688256

13 years agoBluetooth: Remove ObexFTP functionality
Bastien Nocera [Mon, 12 Nov 2012 11:55:52 +0000 (12:55 +0100)]
Bluetooth: Remove ObexFTP functionality

ObexFTP browsing in gvfs is completely broken, and unmaintained.
http://www.hadess.net/2011/11/obexftp-in-gnome-non-update.html

Remove the UI for it. The more adventurous can go and use it
(as long as I don't get the bug reports).

https://bugzilla.gnome.org/show_bug.cgi?id=688160

13 years agomain: Stop using Metacity's keybinding files
Florian Müllner [Mon, 5 Nov 2012 13:54:33 +0000 (14:54 +0100)]
main: Stop using Metacity's keybinding files

The descriptions for keybindings shared with Metacity are now
duplicated in Mutter, so only use the latter to avoid duplicate
entries in System Settings.

https://bugzilla.gnome.org/show_bug.cgi?id=687672

13 years agoRemove shell-screen-grabber
Neil Roberts [Mon, 12 Nov 2012 18:07:57 +0000 (19:07 +0100)]
Remove shell-screen-grabber

The screen grabber was a workaround for an extremely slow path in Mesa
when reading back pixel data from the frame buffer. It was using pixel
buffer objects by directly calling into GL to hit a fast blit path in
Intel's driver. This should no longer be necessary with the latest
Mesa because the normal read pixels path now has a fast path to just
memcpy the data. Using PBOs in that case just adds an extra
indirection because the data is read into an intermediate buffer and
then copied back out again.

We want to be able to remove the dependency on linking against libGL
directly from Gnome Shell because that will not work if Cogl is
actually using GLES. Also libGL includes GLX which means gnome-shell
ends up with a hard dependency on Xlib which hinders the goal of
getting Gnome Shell to be a Wayland compositor.

https://bugs.freedesktop.org/show_bug.cgi?id=46631

https://bugzilla.gnome.org/show_bug.cgi?id=685915

13 years agologinDialog: Fix yet another StIconType removal fallout
Florian Müllner [Sun, 11 Nov 2012 00:09:09 +0000 (01:09 +0100)]
loginDialog: Fix yet another StIconType removal fallout

https://bugzilla.gnome.org/show_bug.cgi?id=688181

13 years agologinDialog: Remove the correct focus root from ctrl-alt-tab
Florian Müllner [Sat, 10 Nov 2012 18:40:55 +0000 (19:40 +0100)]
loginDialog: Remove the correct focus root from ctrl-alt-tab

Commit 3abfcda8b5998d10 fixed the focus root passed to addGroup(),
but left the one in removeGroup() unchanged.

https://bugzilla.gnome.org/show_bug.cgi?id=688181

13 years agopolkitAgent: Expand password entry to the full width
Florian Müllner [Wed, 7 Nov 2012 17:06:02 +0000 (18:06 +0100)]
polkitAgent: Expand password entry to the full width

Due to an oversight, the width of the password entry is currently
determined by the length of the message description. Fix the flags
so that the entry spans the entire width of the dialog.

https://bugzilla.gnome.org/show_bug.cgi?id=684810

13 years agodash: Disable animations during overview transitions
Florian Müllner [Tue, 30 Oct 2012 19:15:29 +0000 (20:15 +0100)]
dash: Disable animations during overview transitions

When updating the dash, we already avoid all animations while the
overview is hidden. However, as we are using Main.queueDeferredWork(),
updates may be deferred up to ~20 seconds while the overview is hidden.
If the overview is entered before a queued update has taken place, it
will be run immediately on map - as the overview is visible by then,
this means animating any outstanding changes.
Work around this by skipping animations during overview transitions as
well.

https://bugzilla.gnome.org/show_bug.cgi?id=686530

13 years agoScreenShield: fix code to detect missing unlock dialog
Giovanni Campagna [Tue, 6 Nov 2012 22:41:51 +0000 (23:41 +0100)]
ScreenShield: fix code to detect missing unlock dialog

If the session mode has no locking support, screenshield had code to
unlock automatically, but it did so by checking the return value of
the constructor, instead of checking if the constructor was actually
callable, so it would get a TypeError before reaching the check.

https://bugzilla.gnome.org/show_bug.cgi?id=687708

13 years agoStop using clutter alpha
Adel Gadllah [Sun, 11 Nov 2012 16:13:07 +0000 (17:13 +0100)]
Stop using clutter alpha

It is deprecated.

https://bugzilla.gnome.org/show_bug.cgi?id=688089

14 years agoMessageTray: fix reentrancy when calling out to the grab helper
Giovanni Campagna [Mon, 10 Sep 2012 22:44:28 +0000 (00:44 +0200)]
MessageTray: fix reentrancy when calling out to the grab helper

Similar to 683546. I'm not sure where this bug lives, but let's make
the code robust.

https://bugzilla.gnome.org/show_bug.cgi?id=683986

14 years agopower: indicate 1 hour remaining correctly
Sebastian Keller [Fri, 9 Nov 2012 04:09:53 +0000 (05:09 +0100)]
power: indicate 1 hour remaining correctly

Before 60 minutes remaining were displayed
as "0 minutes" now it is "1 hour".

https://bugzilla.gnome.org/show_bug.cgi?id=687958

14 years agoUpdated Hebrew translation.
Yaron Shahrabani [Fri, 9 Nov 2012 09:36:39 +0000 (11:36 +0200)]
Updated Hebrew translation.

14 years agomessageTray: Close the notification on Escape
Stéphane Démurget [Thu, 8 Nov 2012 14:38:57 +0000 (15:38 +0100)]
messageTray: Close the notification on Escape

Now that the notifications can be focused with the keyboard, it's
important we can close the active one also this way.

https://bugzilla.gnome.org/show_bug.cgi?id=652082

14 years agomessageTray: Add a notification focus keybinding
Stéphane Démurget [Thu, 8 Nov 2012 14:24:40 +0000 (15:24 +0100)]
messageTray: Add a notification focus keybinding

At the moment, only the mouse can be used to focus and answer a chat
notification.

This adds a new keybinding (defaults to <Super>+n) to focus and expand
the active notification.

https://bugzilla.gnome.org/show_bug.cgi?id=652082

14 years agoRename "System Settings" to "Settings"
Elad Alfassa [Wed, 7 Nov 2012 13:58:33 +0000 (15:58 +0200)]
Rename "System Settings" to "Settings"

"System Settings" has been renamed to "Settings" in gnome-control-center.
See bug https://bugzilla.gnome.org/show_bug.cgi?id=681543

This patch does the same rename in the shell itself, as per

https://bugzilla.gnome.org/show_bug.cgi?id=687738

14 years ago.gitignore: Update to ignore the generated manpage
Stéphane Démurget [Wed, 7 Nov 2012 13:38:32 +0000 (14:38 +0100)]
.gitignore: Update to ignore the generated manpage

14 years agounlockDialog: better confirmation button label
Stéphane Démurget [Tue, 6 Nov 2012 23:16:19 +0000 (00:16 +0100)]
unlockDialog: better confirmation button label

If I click on "Not listed?" in the login screen, I come to a username
field with two buttons: "Cancel" and "Sign In".

Clicking on "Sign In" doesn't actually sign me in though - it takes me
to the login entry. It would be better to rename "Sign In" to "Next" for
the username stage, therefore.

Gdm emit a signal to ask a question or a secret, but we can not know if
this is the last authentication question, hence we only use "Sign In"
for secret questions which improve the situation a lot.

https://bugzilla.gnome.org/show_bug.cgi?id=687656

14 years agoRevert "overview: highlight windows on launcher hover"
Stéphane Démurget [Tue, 6 Nov 2012 23:33:32 +0000 (00:33 +0100)]
Revert "overview: highlight windows on launcher hover"

This reverts commit 76229a3601267830be0332f58f82ec16bc77a125.

Pushed by accident.

14 years agooverview: highlight windows on launcher hover
Stéphane Démurget [Sat, 3 Nov 2012 21:18:42 +0000 (22:18 +0100)]
overview: highlight windows on launcher hover

When in the overview, if you move the mouse cursor over one of the
application launchers in the dash, all the unrelated windows are dimmed
both both in the window view and in the workspace view.

It helps to easily understand whether or not there are already opened
windows for this application, and where they are. It can also help in
differentiating the windows in the overview (sometimes the thumbnails
aren't precise enough to easily know which thumbnail belongs to which
application).

https://bugzilla.gnome.org/show_bug.cgi?id=657315

14 years agodash: simplify app retrieval from AppWellIcon
Stéphane Démurget [Sat, 3 Nov 2012 20:14:53 +0000 (21:14 +0100)]
dash: simplify app retrieval from AppWellIcon

This has also the benefit of getting the application even if it can not
be retrieved through AppSystem, which can happen if the runtime WMClass
does not match the one of the desktop file.

This especially looked wrong with the following commits related to the
bug.

https://bugzilla.gnome.org/show_bug.cgi?id=657315

14 years agodash: rename a local variable for clarity
Stéphane Démurget [Sat, 3 Nov 2012 20:03:49 +0000 (21:03 +0100)]
dash: rename a local variable for clarity

createAppIcon creates an appIcon, not a 'display', which made things
unnecessarily more difficult to understand.

https://bugzilla.gnome.org/show_bug.cgi?id=657315

14 years agodash: properly restore item label on popup close
Stéphane Démurget [Sat, 3 Nov 2012 20:03:33 +0000 (21:03 +0100)]
dash: properly restore item label on popup close

We simply hide the label when the popup is opened instead of relying
on the popup state when the hover state change.

To do this we replace the flag isMenuUp by a 'menu-state-changed' signal
on the AppWellIcon. This simplifies the dash label visibility handling
code that need additional changes for the bug.

https://bugzilla.gnome.org/show_bug.cgi?id=657315

14 years agoremote-search: initialize the DBus proxy asynchronously
Cosimo Cecchi [Thu, 1 Nov 2012 21:28:46 +0000 (17:28 -0400)]
remote-search: initialize the DBus proxy asynchronously

Initializing this synchronously means that we will possibly wait for the
process to be auto-activated and answering to our call.
If the process is already running it also might not answer immediately
our request, as it might be doing sync I/O.
The right thing to do is to initialize the proxy asynchronously; there
are try/catch blocks in place for when the object is not available, or
not properly initialized.

https://bugzilla.gnome.org/show_bug.cgi?id=687491

14 years agoremote-search: don't use g_file_query_exists()
Cosimo Cecchi [Tue, 6 Nov 2012 22:32:39 +0000 (17:32 -0500)]
remote-search: don't use g_file_query_exists()

This is called in the main thread, which we should never block for
synchronous I/O.
Since the operation we're wrapping is async already, just use
g_file_query_info_async() instead.

https://bugzilla.gnome.org/show_bug.cgi?id=687491

14 years agoremote-search: require a DesktopId field in search providers
Cosimo Cecchi [Thu, 1 Nov 2012 13:50:38 +0000 (09:50 -0400)]
remote-search: require a DesktopId field in search providers

Remote search providers install an auxiliary keyfile to specify
static information, such as the object path/bus name needed to activate
the binary. Such keyfiles also specify the application the providers
pushes results for; currently, we support two formats for application
information
- two fields, "Title" and "Icon" that specify a (translatable) title and
  an icon name for display
- one field "DesktopId" that specifies the desktop file name of the
  application backing the provider, which obsoletes the previous
  Title/Icon syntax

Since all providers in GNOME use DesktopId now, and we need to ensure a
remote search providers is always backed by an application for future
development, this commit drops the support for the older syntax.

https://bugzilla.gnome.org/show_bug.cgi?id=687491

14 years agoview-selector: add missing semicolon
Cosimo Cecchi [Thu, 1 Nov 2012 13:45:04 +0000 (09:45 -0400)]
view-selector: add missing semicolon

https://bugzilla.gnome.org/show_bug.cgi?id=687491

14 years agoscreenshield: use the correct actor for the background
Cosimo Cecchi [Tue, 6 Nov 2012 22:44:11 +0000 (17:44 -0500)]
screenshield: use the correct actor for the background

Commit 4fd690333aa3713b48128cded71a3f11234729a9 added the GLSL snippet to
the background actor, but then discarded the newly created actor.

14 years agoScreenShield: hide the cursor while the lock screen is on
Giovanni Campagna [Fri, 31 Aug 2012 15:51:32 +0000 (17:51 +0200)]
ScreenShield: hide the cursor while the lock screen is on

While the screen is locked and the cursor is not moved, the mouse
cursor should be hidden, to indicate the machine is idle.

https://bugzilla.gnome.org/show_bug.cgi?id=682535

14 years agoScreenShield: account for motion velocity when hiding the lock screen
Giovanni Campagna [Fri, 31 Aug 2012 14:36:40 +0000 (16:36 +0200)]
ScreenShield: account for motion velocity when hiding the lock screen

Switch from a ClutterDragAction to a ClutterGestureAction, that gives
us the velocity of mouse motion at each step, and use it to compute the
animation time for completing the hide gesture.

https://bugzilla.gnome.org/show_bug.cgi?id=682537

14 years agoMessageTray: change height in chat notification to have more context.
Carlos Soriano Sánchez [Sun, 4 Nov 2012 23:06:47 +0000 (00:06 +0100)]
MessageTray: change height in chat notification to have more context.

https://bugzilla.gnome.org/show_bug.cgi?id=665255

14 years agoScreenShield: blur and desaturate the screenshield background
Giovanni Campagna [Fri, 3 Aug 2012 16:40:11 +0000 (18:40 +0200)]
ScreenShield: blur and desaturate the screenshield background

The background is the same as the normal desktop, so we blur and
desaturate it to clearly show that it's not the normal system state.
To do so, we don't use standard ClutterEffects, to avoid the FBO
indirection. Instead, we take advantage of MetaBackgroundActor support
for GLSL code and paint the shaded background texture directly.

https://bugzilla.gnome.org/show_bug.cgi?id=682536

14 years agoUse "Decline" instead of "Reject" for incoming calls
Jean-François Fortin Tam [Mon, 5 Nov 2012 16:32:45 +0000 (11:32 -0500)]
Use "Decline" instead of "Reject" for incoming calls

This makes GNOME Shell more polite
Fixes bug #661194

14 years agologinDialog: support disable-user-list key
Ray Strode [Tue, 30 Oct 2012 17:26:30 +0000 (13:26 -0400)]
loginDialog: support disable-user-list key

In some deployments showing a user list at the login
screen is undesirable.

GDM's fallback login screen has a configuration key:

org.gnome.login-screen disable-user-list false

that causes the user-list to get hidden.

This commit adds similar functionality to the normal,
shell-based login screen.

Based on a series of patches by Marius Rieder.

https://bugzilla.gnome.org/show_bug.cgi?id=660660

14 years agologinDialog: hide session list until username is entered
Ray Strode [Wed, 31 Oct 2012 18:32:33 +0000 (14:32 -0400)]
loginDialog: hide session list until username is entered

Right now when a user clicks "Not Listed?" they end up
seeing a session list that gets reset after they enter their
username.

This commit hides the session list until the username has
been entered.

https://bugzilla.gnome.org/show_bug.cgi?id=660660

14 years agologinDialog: don't rely on PAM to ask for a username
Ray Strode [Tue, 30 Oct 2012 19:06:44 +0000 (15:06 -0400)]
loginDialog: don't rely on PAM to ask for a username

For the "Not Listed?" case we will need to be able
to identify when the user has entered their username.

Once we have a way of tracking when the username is
entered, we can then defer showing the session list
too early, before the user can reliably pick a
session.

This username tracking will also be important for
implementing a disable-user-list configuration key.
If the config key gets toggled off at runtime, we'll
need to know if we're at a disruptive part of
the authentication process or not, so we know whether
we can can expose the user list right away, or wait
until the authentication conversation finishes.

Right now, we pass null in for an initial username,
and let the PAM machinery ask the user, which means we
have no good way of knowing when the username is entered.

This commit changes the "Not Listed?" code to ask the
user their username up front, before starting the PAM
conversation in much the same way we do if the user
picks a user from the user list.

https://bugzilla.gnome.org/show_bug.cgi?id=660660

14 years ago[l10n] Updated German translation
Wolfgang Stöggl [Tue, 6 Nov 2012 19:11:27 +0000 (20:11 +0100)]
[l10n] Updated German translation

14 years agost-entry: Change the pointer cursor on enter/leave events
Thomas Wood [Mon, 29 Oct 2012 15:47:25 +0000 (15:47 +0000)]
st-entry: Change the pointer cursor on enter/leave events

Change the pointer cursor to an i-beam when it is inside the ClutterText.

https://bugzilla.gnome.org/show_bug.cgi?id=687130

14 years agoa11y: fixing a regression with the accessible name at dash items
Alejandro Piñeiro [Wed, 24 Oct 2012 17:29:07 +0000 (19:29 +0200)]
a11y: fixing a regression with the accessible name at dash items

After some changes, the tooltip label at the dash is not available
until it is visually shown. As this is not anymore a reliable
source of accessible name, we just set the accessible name
with the string used on that label.

https://bugzilla.gnome.org/show_bug.cgi?id=686583

14 years agoAdd a --disable-man configure option
Matthias Clasen [Tue, 6 Nov 2012 04:39:32 +0000 (23:39 -0500)]
Add a --disable-man configure option

OSTree doesn't have DocBook stylesheets, so generating
man pages from xml causes build failures there.

14 years agoUse the same xsltproc parameters as other modules
Matthias Clasen [Tue, 6 Nov 2012 04:33:38 +0000 (23:33 -0500)]
Use the same xsltproc parameters as other modules

Using the same parameters makes sure that the generated man
pages look more or less uniform.

14 years agoSome updates to the man page
Matthias Clasen [Wed, 25 Jul 2012 02:11:18 +0000 (04:11 +0200)]
Some updates to the man page

Mention relevant files, and how gnome-shell gets started
in the session.

https://bugzilla.gnome.org/show_bug.cgi?id=680601

14 years agoConvert man page to Docbook
Matthias Clasen [Wed, 25 Jul 2012 02:00:55 +0000 (04:00 +0200)]
Convert man page to Docbook

This make it easier to update the content and to transform
the man page into other output formats, like HTML.

https://bugzilla.gnome.org/show_bug.cgi?id=680601

14 years agomobile-providers: new country-specific type to gather providers
Aleksander Morgado [Thu, 1 Nov 2012 16:52:09 +0000 (17:52 +0100)]
mobile-providers: new country-specific type to gather providers

shell_mobile_providers_parse() was returning the country information split
into a hash table with providers and a hash table with country names. This
patch merges both outputs into a single per-country object, so the parse()
method now returns a GHashTable with the following element-type:
   (element-type utf8 ShellCountryMobileProvider>)
This also avoids more complex setups like returning lists inside of hash tables,
which was actually breaking either g-i or gtk-doc.

shell_mobile_providers_parse() was also modified to allow inputting the paths
of the country codes and provider list files to use. If paths are not given, the
default ones will be used. This helps us to provide test files during unit
tests.

Both the findProviderForMCCMNC() and findProviderForSid() methods are exported
out of the GSM and CDMA specific classes, and new unit tests for them are
implemented. Tests can be run manually with:
    $> ./tests/run-test.sh tests/unit/mobileProviders.js

https://bugzilla.gnome.org/show_bug.cgi?id=687356.

14 years agoScreenShield: don't rely on gnome-session to hide the lightbox
Giovanni Campagna [Sun, 28 Oct 2012 11:26:21 +0000 (12:26 +0100)]
ScreenShield: don't rely on gnome-session to hide the lightbox

If we lock before the user becomes active again, gnome-session will never
change presence from IDLE, and thus we'll never hide the lightbox.
Instead, install our own idle monitor.

https://bugzilla.gnome.org/show_bug.cgi?id=687020

14 years agomain: hide the overview on key release
Stéphane Démurget [Sun, 4 Nov 2012 17:30:44 +0000 (18:30 +0100)]
main: hide the overview on key release

Entering the overview with the overlay key is done on key release but
exiting the overview on key press, which is inconsistent.

This change makes the overview hidden also on key release.

https://bugzilla.gnome.org/show_bug.cgi?id=683024